import Verfication from "../packages/verfication/index.js";

const components = [Verfication]

const install = function (Vue, opts = {}) {
    components.forEach(component => {
        Vue.component(component.name, component);
    });
    
    Vue.prototype.$verify = Verfication.alert;
};

/* istanbul ignore if */
if (typeof window !== 'undefined' && window.Vue) {
    install(window.Vue);
}

export default {
    version: '0.0.1',
    install,
    Verfication
}